package com.baijiayun.liveuibase.toolbox.answerer.barchart;

public class AnswererBarEntry {
    private int left;
    private int top;
    private int right;
    private int bottom;
    private float value;
    private float transformedValue;
    private int currentTop;

    public int getLeft() {
        return left;
    }

    public void setLeft(int left) {
        this.left = left;
    }

    public int getTop() {
        return top;
    }

    public void setTop(int top) {
        this.top = top;
    }

    public int getRight() {
        return right;
    }

    public void setRight(int right) {
        this.right = right;
    }

    public int getBottom() {
        return bottom;
    }

    public void setBottom(int bottom) {
        this.bottom = bottom;
    }

    public float getValue() {
        return value;
    }

    public void setValue(float value) {
        this.value = value;
    }

    public float getTransformedValue() {
        return transformedValue;
    }

    public void setTransformedValue(float transformedValue) {
        this.transformedValue = transformedValue;
    }

    public int getCurrentTop() {
        return currentTop;
    }

    public void setCurrentTop(int currentTop) {
        this.currentTop = currentTop;
    }

    public boolean isInside(float x, float y) {
        return x > left && x < right && y > top && y < bottom;
    }
}
